// 封搜索相关的接口
import request from '@/utils/request.js'

// 搜索获取数据
const getSearchData = ({ categoryId, goodsName, page }) => {
  return request.get('/goods/list', {
    params: {
      categoryId,
      goodsName,
      page
    }
  })
}

export { getSearchData }
